package com.shaw.tiger;

public class RealImage implements Image {
	private String fileName;

	public RealImage(String fileName) {
		this.fileName = fileName;
		loadFromDisk(fileName);
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	@Override
	public void disPlay() {
		System.out.println("Displaying :" + fileName);
	}

	private void loadFromDisk(String fileName) {
		System.out.println("Loading from disk, file name :" + fileName);
	}

}
